﻿<?xml version="1.0" encoding="utf-8"?>
<FieldTypes>
    <FieldType>
        <Field Name="TypeName">OneStepImageField</Field>
        <Field Name="TypeDisplayName">Imagen directa</Field>
        <Field Name="TypeShortDescription">Imagen directa (será almacenada en una biblioteca de documentos)</Field>
        <Field Name="ParentType">Note</Field>
        <Field Name="UserCreatable">TRUE</Field>
        <Field Name="FieldTypeClass">52728452-f035-42e0-8b27-96ff3010a889</Field>
        <PropertySchema>
            <Fields>
                <Field Name="LibraryURL" DisplayName="URL de la biblioteca de imágenes" Type="Text" />
            </Fields>
        </PropertySchema>
        <RenderPattern Name="DisplayPattern">
            <Switch>
                <Expr>
                    <Column />
                </Expr>
                <Case Value="" />
                <Default>
                    <HTML><![CDATA[<img src="]]></HTML>
                    <Column HTMLEncode="TRUE" />
                    <HTML><![CDATA[">]]></HTML>
                </Default>
            </Switch>
        </RenderPattern>
    </FieldType>
</FieldTypes>